home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / mc51bugs.zip / Q39344 < prev    next >
Text File  |  1988-12-30  |  1KB  |  46 lines

  1. Q39344 Internal Compiler Error: omf.c:1.70, line 146
  2. C Compiler
  3. 5.10   | 5.10
  4. MS-DOS | OS/2
  5.  
  6. Summary:
  7.  
  8. The code below causes the following internal compiler error when
  9. compiled under DOS or OS/2 with the C Version 5.10:
  10.  
  11.    fatal error C1001: Internal Compiler Error
  12.                    (compiler file '@(#)omf.c:1.70', line 146)
  13.                    Contact Microsoft Technical Support
  14.  
  15. If the two statements using the pragma "data_seg" to name the data
  16. segment are commented out, the error will not occur. This error occurs
  17. with optimization turned on and disabled with /Od.
  18.  
  19. Microsoft has confirmed this to be a problem in Version 5.10. We are
  20. researching this problem and will post new information as it becomes
  21. available.
  22.  
  23.  
  24. More Information:
  25.  
  26. The following is the example code:
  27.  
  28. #define  INCL_BASE
  29. #include <os2.h>
  30.  
  31. #pragma data_seg(GD)         /* if this is uncommented, it will */
  32.                              /* produce the internal comp. error*/
  33. int i;
  34.  
  35. #pragma data_seg(ID)         /* if this is uncommented, it will */
  36.                              /* produce the internal comp. error*/
  37. int  fFirstLogCall = 1;
  38.  
  39. int  EXPENTRY ERL_INITROUTINE (void)
  40.    {
  41.      C_INIT();
  42.    }
  43.  
  44. Keywords:  buglist5.10
  45. Updated  88/12/30 04:34
  46.